package cn.hc.share.service;

import java.util.List;

import cn.hc.share.entity.Tag;

/**
 * 业务层接口
 */
public interface TagService
{
	//增加标签
	public Tag saveTag(Tag tag);

	public String addNewTag(String tagNames, String builder);

	public String addTags(String tagNames, String builder,String articleId);

	//获取用户创建的标签
	public List<Tag> getTagsByUserId(String userId);

	//更新标签-rename/delete
	public int updateTag(String tagId, String tagNewName, String type);

}
